You can update an existing port channel for a tenant. You can update the port-add, port-delete, lacp-timeout, description, min-link-count, mtu-add, and the mtu-delete operations.
efa tenant po update --name <po-name> --tenant <tenant-name> --operation <port-add|port-delete|lacp-timeout|description|min-linkcount> --port <list-of-po-members> --lacp-timeout string <short|long> --minlink-count <min-link-count> --description <po-description>
(efa:root)root@node-2:~# efa tenant po create --name ten1po1 --tenant ten1 --port 10.20.246.5[0/1],10.20.246.6[0/1] --speed 10Gbps --negotiation active --description tenant1po1 PortChannel created successfully. --- Time Elapsed: 8.900145166s --- (efa:root)root@node-2:~# efa tenant po show --name ten1po1 --tenant ten1 --detaill ===================================================================================== Name : ten1po1 Tenant : ten1 ID : 1 Description : tenant1po1 Speed : 10Gbps MTU : Negotiation : active Min Link Count : 1 Lacp Timeout : long Ports : 10.20.246.6[0/1] : 10.20.246.5[0/1] State : po-created Dev State : provisioned App State : cfg-in-sync ===================================================================================== --- Time Elapsed: 43.521043ms ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation mtu-add --mtu 5000 PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.432588278s ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation lacp-timeout --lacp-timeout short PortChannel: ten1po1 updated successfully. --- Time Elapsed: 268.24828ms ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation port-add --port 10.20.246.5[0/2],10.20.246.6[0/2] PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.765536812s ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation min-link-count --min-link-count 2 PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.396798321s ---
(efa:root)root@node-2:~# efa tenant po show --name ten1po1 --tenant ten1 --detail =========================================================================================== Name : ten1po1 Tenant : ten1 ID : 1 Description : tenant1po1 Speed : 10Gbps MTU : 5000 Negotiation : active Min Link Count : 2 Lacp Timeout : short Ports : 10.20.246.6[0/1-2] : 10.20.246.5[0/1-2] State : po-created Dev State : provisioned App State : cfg-in-sync =========================================================================================== --- Time Elapsed: 68.366068ms ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation mtu-delete PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.389710725s ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation min-link-count --min-link-count 1 PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.371611014s ---
(efa:root)root@node-2:~# efa tenant po update --name ten1po1 --tenant ten1 --operation port-delete --port 10.20.246.5[0/1],10.20.246.6[0/1] PortChannel: ten1po1 updated successfully. --- Time Elapsed: 1.611562693s ---
(efa:root)root@node-2:~# efa tenant po show --name ten1po1 --tenant ten1 --detail =========================================================================================== Name : ten1po1 Tenant : ten1 ID : 1 Description : tenant1po1 Speed : 10Gbps MTU : Negotiation : active Min Link Count : 1 Lacp Timeout : short Ports : 10.20.246.6[0/2] : 10.20.246.5[0/2] State : po-created Dev State : provisioned App State : cfg-in-sync =========================================================================================== --- Time Elapsed: 38.90523ms ---